#字符串排序
l = ['baaa','aaab','aaaa','abaa']
l.sort()
print(l)